//
//  MTTagModel.swift
//  MT
//
//  Created by M on 2020/1/4.
//  Copyright © 2020 张强. All rights reserved.
//

import UIKit
import ObjectMapper

class MTTagResponseModel: Mappable {

    var code: Int?
    
    var result: [MTTagModel]?
    
    required init?(map: Map) {
        
    }
    
    open func mapping(map: Map) {
        result          <- map["result"]
        code            <- map["code"]
    }
    
}

class MTTagModel: Mappable {
    
    var id: Int?
    
    var isSystem: Int = 1
    
    var name: String?
    
    var tagged: Int = 0
    
    required init?(map: Map) {
        
    }
    
    open func mapping(map: Map) {
        id                  <- map["id"]
        isSystem            <- map["isSystem"]
        name                <- map["name"]
        tagged              <- map["tagged"]
    }
    
}
